import { Server } from "restify";

import { ThesisController } from "@src/apps/thesis/controllers/item.controller";
import { Thesis } from "@src/apps/thesis/entities/item.entity";

// import { checkJwtC as jC } from "@src/lib/jwt";

export const app = (server: Server, entities: Function[]) => {
  const thesisController = new ThesisController();

  server.get("/thesis", thesisController.getAllThesis);
  entities.push(Thesis);
};
